import request from '@/utils/request'

export function orderList(query) {
    return request({
        url: '/order/list',
        method: 'get',
        params: query
    })
}

export function orderCreate(data) {
    return request({
        url: '/order/create',
        method: 'post',
        data
    })
}

export function orderUpdate(data) {
    return request({
        url: '/order/update',
        method: 'post',
        data
    })
}

export function orderDelete(data) {
    return request({
        url: '/order/delete',
        method: 'post',
        data
    })
}




